﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    public class Class1
    {
        public virtual int level() {
            return 1;
        }
    }

    public class Class2 : Class1 
    {
        public override int level() {
            return 22;
        }
    }


    public class Class3 : Class1
    {
        public override int level()
        {
            return 23;
        }
    }
}
